#!/bin/bash
#create vri_netcard named eno1.19
sudo ip link add link eno1 name eno1.19 type vlan id 19

sudo ip addr add 10.13.1.110/24 dev eno1.19
# start  eno1.19
sudo ip link set up eno1.19
# 设置路由
sudo route add -net 224.0.2.2 netmask 255.255.255.255 dev eno1.19

